home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 015a / qw12inst.zip / DBASE.TEC < prev    next >
Text File  |  1991-10-09  |  2KB  |  55 lines

  1. ID:DB dBase III Plus and IV Colors
  2. DESQview Technical Note #126
  3. by Stan Young
  4.  
  5. dBASE III Plus and dBASE IV use the TopView/DESQview call to
  6. write to DESQview's screen buffer and therefore can be run in a
  7. small window and in the background.
  8.  
  9. Unfortunately, when the dBASE developers implemented the call,
  10. they used a TopView function called "Logical Colors" incorrectly. 
  11. As a result, when you run dBASE with the "Writes Directly to
  12. Screen" option turned off, dBASE will not display the colors that
  13. you select with the "SET COLOR TO" option.  When dBASE is run
  14. with the default color scheme and is running in the ASSIST mode,
  15. the menu bars do not display highlighting properly.
  16.  
  17. The most drastic way to cause dBASE to display the screen
  18. correctly is to run DESQview's "Change a Program" and turn on the
  19. options "Writes Directly to Screen" and "Runs Only in
  20. Foreground." Using this configuration, colors in dBASE will
  21. appear exactly as they do in DOS.  Unfortunately, this prevents
  22. the program from processing in a small window and running
  23. properly in the background unless you are running on a 386
  24. machine, in which case DESQview can virtualize the screen.
  25.  
  26. If you don't have to set specific colors, however, there is
  27. another solution that will result in a pleasant, readable set of
  28. colors that will run properly in a window and background:
  29.  
  30. FIRST - Edit the CONFIG.DB file (in your dBASE directory) and
  31. change the line that says "COMMAND = ASSIST" to:
  32.  
  33.      COMMAND = DO DESQVIEW
  34.  
  35. NEXT - Using a word processor capable of producing ASCII files
  36. (such as you would use to write batch files), make a file called
  37. DESQVIEW.PRG and place it in the dBASE directory.  The file
  38. should contain the following two lines followed by a blank line:
  39.  
  40.      SET COLOR TO ASSIST
  41.  
  42. When you run dBASE, dBASE will now automatically run the
  43. DESQVIEW.PRG file.  This provides a pleasant set of colors,
  44. although not exactly the default colors that it should provide. 
  45. You may then use the DESQview option to change the colors
  46. further, if you like, by selecting "Rearrange" and "Colors" from
  47. the DESQview main menu.  
  48.  
  49. Let me restate that this problem occurs because of what amounts
  50. to a dBASE III Plus and dBASE IV "bug" in their TopView/DESQview
  51. routines.  Since we support these routines, the problem only
  52. shows up when you are running in DESQview or TopView.  
  53.  
  54.               * * * * End of File * * * *
  55.     Copyright (C) 1991 by Quarterdeck Office Systems